.agrid table {
	border-collapse:collapse;
	border-spacing:0;
	margin:.3em 0;
	border:3px solid #888;
}
.agrid table tbody tr:hover {
	background:#dadada;
}
.agrid table td, .agrid table th {
	text-align:left;
}
.agrid table th {
	background:#dadada url('agrid/thead.png') 0 15px repeat-x;
	padding:0;
	color:#888;
	border:none;
}
.agrid table th a, .agrid table th span {
	color:#888;
	display:block;
	padding:0 5px;
	height:30px;
	line-height:30px;
}
.agrid table th a.sortable {
	padding:0 5px 0 12px;
	background-repeat:no-repeat;
}
.agrid table th a.sortable:hover {
	background-position:0 9px;
	background-image:url('agrid/updown.gif');
	color:#333;
}
.agrid table td {
	border-top:1px solid #888;
	padding:3px 5px;
}
.agrid a.delete {
	padding:0 0 0 12px;
	background:transparent url('agrid/delete.gif') 0 4px no-repeat;
	text-decoration:none;
}
.agrid a.edit {
	padding:0 0 0 8px;
	background:transparent url('agrid/edit.gif') 0 7px no-repeat;
}
.agrid a.new {
	padding:0 0 0 12px;
	background:transparent url('agrid/add.gif') 0 4px no-repeat;
}
.agrid * {
	font-family:sans-serif;
	font-size:small;
	color:black;
}
.agrid a.sort-asc {
	background-position:3px 12px;
	background-image:url('agrid/up.gif');
	color:black;
}
.agrid a.sort-desc {
	background-position:3px 12px;
	background-image:url('agrid/down.gif');
	color:black;
}
